package com.beauty.dressing.common.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xutingz
 * @E-mail xutz@xianlanba.com
 * @date 2018/5/27
 */
public class SalesOrder extends BaseBean{
    public long id;     //订单id
    public String order_number; //订单编号
    public long sales_id;  //烟油id
    public String sales_name; //烟油名称
    public int number;
    public long member_id;
    public String price;      //烟油价格
    public String image;//图片
    public int inventory;//库存
    public String postage; //邮费

    public List<WriteOrderBean> getOrderList(){
        List<WriteOrderBean> list = new ArrayList<>();
        WriteOrderBean lease = new WriteOrderBean(sales_id,sales_name,image,price,number,false);
        list.add(lease);
        return list;
    }
}
